package cn.liufuwen.mapper;

import java.util.List;

import cn.liufuwen.domain.Goods;

public interface GoodsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Goods record);

    int insertSelective(Goods record);

    Goods selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Goods record);

    int updateByPrimaryKey(Goods record);
    
    List<Goods> selectAll();
    
    int updateReStockById(Goods record);
    
    int updateAdStockById(Goods record);
}